
<%@ page import="com.plan.QuantitiesStat" %>
<!doctype html>
<html>
	<head>
		<meta name="layout" content="main">
		<g:set var="entityName" value="${message(code: 'quantitiesStat.label', default: 'QuantitiesStat')}" />
		<title><g:message code="default.list.label" args="[entityName]" /></title>
	</head>
	<body>
		<a href="#list-quantitiesStat" class="skip" tabindex="-1"><g:message code="default.link.skip.label" default="Skip to content&hellip;"/></a>
		<h1><g:message code="default.list.label" args="[entityName]" /></h1>
		<div class="nav" role="navigation">
			<ul>
				<li><g:link class="create" action="create"><g:message code="default.new.label" args="[entityName]" /></g:link></li>
			</ul>
		</div>
		<div id="list-quantitiesStat" class="content scaffold-list" role="main">
			<g:if test="${flash.message}">
				<div class="message" role="status">${flash.message}</div>
			</g:if>
			<table>
				<thead>
					<tr>
					
						<g:sortableColumn property="system" title="${message(code: 'quantitiesStat.system.label', default: 'System')}" />
					
						<g:sortableColumn property="subProject" title="${message(code: 'quantitiesStat.subProject.label', default: 'Sub Project')}" />
					
						<g:sortableColumn property="subject" title="${message(code: 'quantitiesStat.subject.label', default: 'Subject')}" />
					
						<g:sortableColumn property="quantitiesName" title="${message(code: 'quantitiesStat.quantitiesName.label', default: 'Quantities Name')}" />
					
						<g:sortableColumn property="spec" title="${message(code: 'quantitiesStat.spec.label', default: 'Spec')}" />
					
						<g:sortableColumn property="unit" title="${message(code: 'quantitiesStat.unit.label', default: 'Unit')}" />
					
						<g:sortableColumn property="sum" title="${message(code: 'quantitiesStat.sum.label', default: 'Sum')}" />
					
						<g:sortableColumn property="creater" title="${message(code: 'quantitiesStat.creater.label', default: 'Creater')}" />
					
						<g:sortableColumn property="status" title="${message(code: 'quantitiesStat.status.label', default: 'Status')}" />
					
						<th><g:message code="operate.label" default="operate" /></th>
					</tr>
				</thead>
				<tbody>
				<g:each in="${quantitiesStatInstanceList}" status="i" var="quantitiesStatInstance">
					<tr class="${(i % 2) == 0 ? 'even' : 'odd'}">
					
						<td><g:link action="show" id="${quantitiesStatInstance.id}">${fieldValue(bean: quantitiesStatInstance, field: "system")}</g:link></td>
					
						<td>${fieldValue(bean: quantitiesStatInstance, field: "subProject")}</td>
					
						<td>${fieldValue(bean: quantitiesStatInstance, field: "subject")}</td>
					
						<td>${fieldValue(bean: quantitiesStatInstance, field: "quantitiesName")}</td>
					
						<td>${fieldValue(bean: quantitiesStatInstance, field: "spec")}</td>
					
						<td>${fieldValue(bean: quantitiesStatInstance, field: "unit")}</td>
					
						<td>${fieldValue(bean: quantitiesStatInstance, field: "sum")}</td>
					
						<td>${fieldValue(bean: quantitiesStatInstance, field: "creater")}</td>
					
						<td>${fieldValue(bean: quantitiesStatInstance, field: "status")}</td>
					
						<td><g:link class="edit" action="edit" id="${quantitiesStatInstance?.id}"><g:message code="default.button.edit.label" default="Edit" /></g:link>
							<g:link class="edit" action="delete" id="${quantitiesStatInstance?.id}" onclick="return confirm('${message(code: 'default.button.delete.confirm.message', default: 'Are you sure?')}');">
							<g:message code="default.button.delete.label" default="Delete" /></g:link>
							
						</td>
					</tr>
				</g:each>
				</tbody>
			</table>
			<g:if test="${quantitiesStatInstanceTotal > 10}">
				<div class="pagination">
					<g:paginate total="${quantitiesStatInstanceTotal}" />
				</div>
			</g:if>
		</div>
	</body>
</html>
